<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="SciftbactinfdoEditDlg" widgetVar="SciftbactinfdoEditDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.EditSciftbactinfdoTitle}">

            <h:form id="SciftbactinfdoEditForm">

                <h:panelGroup id="display">
                    <p:panelGrid  columns="2" rendered="#{sciftbactinfdoController.selected != null}">

                        <h:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sciftbactinfdoid}" for="sciftbactinfdoid" />
                        <h:outputText id="sciftbactinfdoid" value="#{sciftbactinfdoController.selected.sciftbactinfdoid}" />

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_actividad}" for="actividad" />
                        <p:inputText id="actividad" value="#{sciftbactinfdoController.selected.actividad}" title="#{myBundle.EditSciftbactinfdoTitle_actividad}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_actividad}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_resultados}" for="resultados" />
                        <p:inputText id="resultados" value="#{sciftbactinfdoController.selected.resultados}" title="#{myBundle.EditSciftbactinfdoTitle_resultados}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_resultados}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sem1}" for="sem1" />
                        <p:inputText id="sem1" value="#{sciftbactinfdoController.selected.sem1}" title="#{myBundle.EditSciftbactinfdoTitle_sem1}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sem1}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sem2}" for="sem2" />
                        <p:inputText id="sem2" value="#{sciftbactinfdoController.selected.sem2}" title="#{myBundle.EditSciftbactinfdoTitle_sem2}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sem2}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sem3}" for="sem3" />
                        <p:inputText id="sem3" value="#{sciftbactinfdoController.selected.sem3}" title="#{myBundle.EditSciftbactinfdoTitle_sem3}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sem3}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sem4}" for="sem4" />
                        <p:inputText id="sem4" value="#{sciftbactinfdoController.selected.sem4}" title="#{myBundle.EditSciftbactinfdoTitle_sem4}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sem4}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_comentario}" for="comentario" />
                        <p:inputText id="comentario" value="#{sciftbactinfdoController.selected.comentario}" title="#{myBundle.EditSciftbactinfdoTitle_comentario}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_comentario}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_prioridad}" for="prioridad" />
                        <p:inputText id="prioridad" value="#{sciftbactinfdoController.selected.prioridad}" title="#{myBundle.EditSciftbactinfdoTitle_prioridad}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_prioridad}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_descripciondeevidencia}" for="descripciondeevidencia" />
                        <p:inputText id="descripciondeevidencia" value="#{sciftbactinfdoController.selected.descripciondeevidencia}" title="#{myBundle.EditSciftbactinfdoTitle_descripciondeevidencia}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_descripciondeevidencia}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_nombrearchivo}" for="nombrearchivo" />
                        <p:inputText id="nombrearchivo" value="#{sciftbactinfdoController.selected.nombrearchivo}" title="#{myBundle.EditSciftbactinfdoTitle_nombrearchivo}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_nombrearchivo}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_ubicacionfisica}" for="ubicacionfisica" />
                        <p:inputText id="ubicacionfisica" value="#{sciftbactinfdoController.selected.ubicacionfisica}" title="#{myBundle.EditSciftbactinfdoTitle_ubicacionfisica}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_ubicacionfisica}"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_fecharegistro}" for="fecharegistro" />
                        <p:calendar id="fecharegistro" pattern="MM/dd/yyyy HH:mm:ss" value="#{sciftbactinfdoController.selected.fecharegistro}" title="#{myBundle.EditSciftbactinfdoTitle_fecharegistro}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_fecharegistro}" showOn="button"/>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_observaciones}" for="observaciones" />
                        <p:inputText id="observaciones" value="#{sciftbactinfdoController.selected.observaciones}" title="#{myBundle.EditSciftbactinfdoTitle_observaciones}" />

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sciftbinfdocid}" for="sciftbinfdocid" />
                        <p:selectOneMenu id="sciftbinfdocid" value="#{sciftbactinfdoController.selected.sciftbinfdocid}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sciftbinfdocid}">
                            <f:selectItem itemLabel="#{myBundle.SelectOneMessage}"/>
                            <f:selectItems value="#{sciftbinfdocController.items}"
                                           var="sciftbinfdocidItem"
                                           itemValue="#{sciftbinfdocidItem}"
                                           itemLabel="#{sciftbinfdocidItem.sciftbinfdocid.toString()}"
                                           />
                            <f:converter binding="#{sciftbinfdocConverter}"/>
                        </p:selectOneMenu>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_sciftbactplanid}" for="sciftbactplanid" />
                        <p:selectOneMenu id="sciftbactplanid" value="#{sciftbactinfdoController.selected.sciftbactplanid}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_sciftbactplanid}">
                            <f:selectItem itemLabel="#{myBundle.SelectOneMessage}"/>
                            <f:selectItems value="#{sciftbactplanController.items}"
                                           var="sciftbactplanidItem"
                                           itemValue="#{sciftbactplanidItem}"
                                           itemLabel="#{sciftbactplanidItem.sciftbactplanid.toString()}"
                                           />
                            <f:converter binding="#{sciftbactplanConverter}"/>
                        </p:selectOneMenu>

                        <p:outputLabel value="#{myBundle.EditSciftbactinfdoLabel_scaltblineinveid}" for="scaltblineinveid" />
                        <p:selectOneMenu id="scaltblineinveid" value="#{sciftbactinfdoController.selected.scaltblineinveid}" required="true" requiredMessage="#{myBundle.EditSciftbactinfdoRequiredMessage_scaltblineinveid}">
                            <f:selectItem itemLabel="#{myBundle.SelectOneMessage}"/>
                            <f:selectItems value="#{scaltblineinveController.items}"
                                           var="scaltblineinveidItem"
                                           itemValue="#{scaltblineinveidItem}"
                                           itemLabel="#{scaltblineinveidItem.scaltblineinveid.toString()}"
                                           />
                            <f:converter binding="#{scaltblineinveConverter}"/>
                        </p:selectOneMenu>
                    </p:panelGrid>
                    <p:commandButton actionListener="#{sciftbactinfdoController.save}" value="#{myBundle.Save}" update="display,:SciftbactinfdoListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,SciftbactinfdoEditDialog);"/>
                    <p:commandButton value="#{myBundle.Cancel}" onclick="SciftbactinfdoEditDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
